import api from './api'

class AmountChangeLogApi extends api {
  /**
   * 工厂币充值
   * @param {*} amount 金额
   */
  recharge (amount) {
    return this.request({
      url: `${this.servicePath}/${this.modulePath}/recharge`,
      method: 'post',
      data: {
        amount
      }
    })
  }
}

export default new AmountChangeLogApi('photoStudio/amountChangeLog')
